<?php
$this->layout = 'login';
?>

<h1>Please log in</h1>

<?php
echo $form->create('AgencyUser', array('url' => $currentUrl));
?>

    <?php
    echo $form->input('username', array(
        'size' => 30
    ));
    ?>

    <?php
    echo $form->input('password', array(
        'size' => 30
    ));
    ?>

<?php
echo $form->end('Log in');
?>